import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import * as filters from './filters' // 过滤器
import Vant from 'vant';
import 'vant/lib/index.css';

Vue.use(Vant);

// 注册全局过滤器
Object.keys(filters).forEach(key => {
  Vue.filter(key, filters[key])
})


Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: function (h) { return h(App) }
}).$mount('#app')
